<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">

		<!--引入css-->
		<link rel="shortcut icon" href="favicon.ico">
		<link rel="stylesheet" href="../static/font-awesome/4.7.0/css/font-awesome.min.css">
		<link rel="stylesheet" href="../app/css/libs/bootstrap/3.3.7/css/bootstrap.min.css">
		<style>
			.textCenter {
				text-align:center;/*将文字水平居中*/
				line-height:0px
			}
		</style>
	</head>
	<body>
		<div id="loadingText" class="bg-info">
			<h2 class="textCenter text-info" id="loadingInfo">正在启动并初始化终端，请稍后...</h2>
		</div>
		<script src="../static/jquery/2.2.4/jquery.min.js"></script>
		<script>
			$(document).ready(function() {
				document.getElementById("loadingInfo").style.setProperty('line-height', 0.5 * window.screen.availHeight + "px");//将文字垂直居中
				if(window.location.href.indexOf("?") != -1) {
					var ip = window.location.href.split("?")[1].split("=")[1];
					document.getElementById("loadingInfo").innerHTML = "正在连接" + ip + "，请稍后...";
				} else {
					document.getElementById("loadingInfo").innerHTML = "正在启动并初始化终端，请稍后...";
				}
			});
		</script>
	</body>
</html>